package visitor.general;

/**
 * @Author：LJ
 * @Description：抽象业务对象
 * @Date: 2017/12/3
 * @Modified By:
 */
public abstract class Element {
    //定义业务逻辑
    abstract void doSomething();

    //允许访问
    abstract void accept(IVisitor visitor);
}
